﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Microsoft.SharePoint;

namespace Camelot
{
    public partial class Main : Form
    {

        public Main()
        {
            InitializeComponent();
            this.searchOptions.Search += OnSearch;
        }

        private void OnSearch(object sender, SearchEventArgs e)
        {
            this.searchResults.DisplayResults(e.SearchCriteria);
        }
    }
}
